package cn.iocoder.yudao.module.member.controller.admin.userbackamount.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户提现/退款记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserBackAmountPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "用户id", example = "10032")
    private Integer userId;

    @Schema(description = "提现类型 1 佣金 2 退款", example = "1")
    private Integer withdrawalType;

    @Schema(description = "退回渠道1 手动 2 自动", example = "2")
    private Integer backType;

    @Schema(description = "回调接口", example = "https://www.iocoder.cn")
    private String backUrl;

    @Schema(description = "状态 1 申请中 2 已拒绝 3 已通过", example = "2")
    private Integer status;

    @Schema(description = "退款的计算方式")
    private String backComputeAmount;

    @Schema(description = "用户名称", example = "李四")
    private String userName;

}